package com.ionehe.group.common.uaa.ex.dao;

import com.ionehe.group.common.uaa.ex.model.UaaSetMeal;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * Copyright (c) 2020 ionehe.com
 * Date: 2020/11/24
 * Time: 5:08 下午
 *
 * @author 2020年 <a href="mailto:a@ionehe.com">秀</a>
 */

public interface SetMealDao extends Mapper<UaaSetMeal> {
    List<UaaSetMeal> selectList();

    Integer setMealDelete(@Param("setMealId") Long setMealId);

    UaaSetMeal selectByMealId(@Param("setMealId") Long setMealId);

    void insertSetmeal(UaaSetMeal newSetMeal);

    void updateSetmeal(UaaSetMeal setMeal);

    List<UaaSetMeal> selectByIds(List<Long> idList);
}
